Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 'cd -' #11

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Support 'cd -' #11

merged 1 commit into from
Jul 10, 2024

Conversation

ianthomas23
Copy link
Member

Support cd - which cd's into the previous directory. Uses OLDPWD environment variable. Also checks number of argument passed to cd command and throws error if there are more than one. cd on its own without any arguments is not an error.

@ianthomas23 ianthomas23 added the enhancement New feature or request label Jul 10, 2024
@ianthomas23 ianthomas23 merged commit 8e19162 into main Jul 10, 2024
3 of 4 checks passed
@ianthomas23 ianthomas23 deleted the cd_minus branch July 10, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant